package com.jisu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("model_pic")
public class ModelPic {

    @TableId(value = "pic_id", type = IdType.AUTO)
    private Integer picId;

    @TableField("model_id")
    private Integer modelId;

    @TableField("pic_url")
    private String picUrl;

    @TableField("is_main")
    private Boolean isMain;

    @TableField("create_time")
    private LocalDateTime createTime;

}
